/*
 ***************************************************************************
 *           Copyright © 2009 by konglinglong                              *
 *           konglinglong@gmail.com                                        *
 *           我的主页:https://sites.google.com/site/konglinglong/           *
 ***************************************************************************
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************
 */

#ifndef BUDDYINFO_H_
#define BUDDYINFO_H_

#include "Longdefines.h"
#include "Signature.h"


class BuddyInfo
{
public:
	BuddyInfo();
	~BuddyInfo();
	void putData(uint8 *buf, int *len);

public:
	//QQ号
	uint32 qqNum;
	//头像
	uint16 head;
	//年龄
	uint8 age;
	//性别
	uint8 gender;
	//昵称
	uint8 *nick;
	//
	int8 nickLen;
	//用户属性标志
	uint32 userFlag;
	//状态
	uint8 status;
	//好友的签名信息
	Signature signature;

};
#endif /* BUDDYINFO_H_ */
